package com.example.javatwo.pojo.cg.wmj;

public class PurchaseReturnInfo {
	private int infoId;//-- 自增  ?
	private int rowNo ;//- 栏号 
	private String billNo;//-- 单据号码 （与退货主表关联）
	private String pridid;//-- 物料编号
	private String prodname ;//-- 物料名称
	private String prodsize ;//-- 规格型号
	private String sunit ;//-- 单位名称
	private int squantity ;//-- 数量
	private Double oldprice ;//-- 折扣前单价  物料设置的单价
	private Double discount;//-- 折数  折数不能为负数
	private Double sprice;//- 单价  折扣前单价*折数
	private Double amount;//-- 金额  单价 * 数量
	private Double taxRate;//-- 税率  物料中的税率
	private Double taxAmt;//-- 税额  未税：金额*税率  含税：税额=含税金额/(1+税率)*税率
	private Double amountatax;//-- 含税金额  金额+税额
	private String isgift ;//-- 是否是赠品 
	private int notInvCount ;//-- 未开票数量
	private String itemremark;//-- 分录备注
	private String trantype ;//-- 来源单别
	private String fromno ;//-- 来源单号

	private String havebatch;//-- 批号
	private String hasInv ;//-- 发票明细

	private String undefinedA ;//-- 未定义字段
	private String undefinedB ;//-- 未定义字段
	private String undefinedC;
	
	private PurchaseReturn pur;
	
	public PurchaseReturn getPur() {
		return pur;
	}
	public void setPur(PurchaseReturn pur) {
		this.pur = pur;
	}
	public int getInfoId() {
		return infoId;
	}
	public void setInfoId(int infoId) {
		this.infoId = infoId;
	}
	public int getRowNo() {
		return rowNo;
	}
	public void setRowNo(int rowNo) {
		this.rowNo = rowNo;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public String getPridid() {
		return pridid;
	}
	public void setPridid(String pridid) {
		this.pridid = pridid;
	}
	public String getProdname() {
		return prodname;
	}
	public void setProdname(String prodname) {
		this.prodname = prodname;
	}
	public String getProdsize() {
		return prodsize;
	}
	public void setProdsize(String prodsize) {
		this.prodsize = prodsize;
	}
	public String getSunit() {
		return sunit;
	}
	public void setSunit(String sunit) {
		this.sunit = sunit;
	}
	public int getSquantity() {
		return squantity;
	}
	public void setSquantity(int squantity) {
		this.squantity = squantity;
	}
	public Double getOldprice() {
		return oldprice;
	}
	public void setOldprice(Double oldprice) {
		this.oldprice = oldprice;
	}
	public Double getDiscount() {
		return discount;
	}
	public void setDiscount(Double discount) {
		this.discount = discount;
	}
	public Double getSprice() {
		return sprice;
	}
	public void setSprice(Double sprice) {
		this.sprice = sprice;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Double getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}
	public Double getTaxAmt() {
		return taxAmt;
	}
	public void setTaxAmt(Double taxAmt) {
		this.taxAmt = taxAmt;
	}
	public Double getAmountatax() {
		return amountatax;
	}
	public void setAmountatax(Double amountatax) {
		this.amountatax = amountatax;
	}
	public String getIsgift() {
		return isgift;
	}
	public void setIsgift(String isgift) {
		this.isgift = isgift;
	}
	public int getNotInvCount() {
		return notInvCount;
	}
	public void setNotInvCount(int notInvCount) {
		this.notInvCount = notInvCount;
	}
	public String getItemremark() {
		return itemremark;
	}
	public void setItemremark(String itemremark) {
		this.itemremark = itemremark;
	}
	public String getTrantype() {
		return trantype;
	}
	public void setTrantype(String trantype) {
		this.trantype = trantype;
	}
	public String getFromno() {
		return fromno;
	}
	public void setFromno(String fromno) {
		this.fromno = fromno;
	}
	public String getHavebatch() {
		return havebatch;
	}
	public void setHavebatch(String havebatch) {
		this.havebatch = havebatch;
	}
	public String getHasInv() {
		return hasInv;
	}
	public void setHasInv(String hasInv) {
		this.hasInv = hasInv;
	}
	public String getUndefinedA() {
		return undefinedA;
	}
	public void setUndefinedA(String undefinedA) {
		this.undefinedA = undefinedA;
	}
	public String getUndefinedB() {
		return undefinedB;
	}
	public void setUndefinedB(String undefinedB) {
		this.undefinedB = undefinedB;
	}
	public String getUndefinedC() {
		return undefinedC;
	}
	public void setUndefinedC(String undefinedC) {
		this.undefinedC = undefinedC;
	}
	public PurchaseReturnInfo() {
		super();
	}
	public PurchaseReturnInfo(int rowNo, String billNo, String pridid, String prodname, String prodsize, String sunit,
			int squantity, Double oldprice, Double discount, Double sprice, Double amount, Double taxRate,
			Double taxAmt, Double amountatax, String isgift, int notInvCount, String itemremark, String trantype,
			String fromno, String havebatch, String hasInv) {
		super();
		this.rowNo = rowNo;
		this.billNo = billNo;
		this.pridid = pridid;
		this.prodname = prodname;
		this.prodsize = prodsize;
		this.sunit = sunit;
		this.squantity = squantity;
		this.oldprice = oldprice;
		this.discount = discount;
		this.sprice = sprice;
		this.amount = amount;
		this.taxRate = taxRate;
		this.taxAmt = taxAmt;
		this.amountatax = amountatax;
		this.isgift = isgift;
		this.notInvCount = notInvCount;
		this.itemremark = itemremark;
		this.trantype = trantype;
		this.fromno = fromno;
		this.havebatch = havebatch;
		this.hasInv = hasInv;
	}
	
	public PurchaseReturnInfo(int rowNo, String billNo, String pridid, String prodname, String prodsize, String sunit,
			int squantity, Double oldprice, Double discount, Double sprice, Double amount, Double taxRate,
			Double taxAmt, Double amountatax, String isgift, int notInvCount, String itemremark, String trantype,
			String fromno) {
		super();
		this.rowNo = rowNo;
		this.billNo = billNo;
		this.pridid = pridid;
		this.prodname = prodname;
		this.prodsize = prodsize;
		this.sunit = sunit;
		this.squantity = squantity;
		this.oldprice = oldprice;
		this.discount = discount;
		this.sprice = sprice;
		this.amount = amount;
		this.taxRate = taxRate;
		this.taxAmt = taxAmt;
		this.amountatax = amountatax;
		this.isgift = isgift;
		this.notInvCount = notInvCount;
		this.itemremark = itemremark;
		this.trantype = trantype;
		this.fromno = fromno;
	}
	@Override
	public String toString() {
		return "PurchaseReturnInfo [infoId=" + infoId + ", rowNo=" + rowNo + ", billNo=" + billNo + ", pridid=" + pridid
				+ ", prodname=" + prodname + ", prodsize=" + prodsize + ", sunit=" + sunit + ", squantity=" + squantity
				+ ", oldprice=" + oldprice + ", discount=" + discount + ", sprice=" + sprice + ", amount=" + amount
				+ ", taxRate=" + taxRate + ", taxAmt=" + taxAmt + ", amountatax=" + amountatax + ", isgift=" + isgift
				+ ", notInvCount=" + notInvCount + ", itemremark=" + itemremark + ", trantype=" + trantype + ", fromno="
				+ fromno + ", havebatch=" + havebatch + ", hasInv=" + hasInv + ", undefinedA=" + undefinedA
				+ ", undefinedB=" + undefinedB + ", undefinedC=" + undefinedC + ", pur=" + pur + "]";
	}
	
	
	
	
}
